package com.renli.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class PostRelease {

  private Integer id;
  private Integer departmentId;
  private String recruitmentType;
  private Integer people;
  private Integer postId;
  private Integer reguserId;
  @JsonFormat(pattern ="yyyy-MM-dd")
  private Date createTime;
  @JsonFormat(pattern ="yyyy-MM-dd")
  private Date deadTime;
  private String requirement;
  private Integer state;

  public void setDeadTime(Date deadTime) {
    this.deadTime = deadTime;
  }

  public Integer getState() {
    return state;
  }

  public void setState(Integer state) {
    this.state = state;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public Integer getDepartmentId() {
    return departmentId;
  }

  public void setDepartmentId(Integer departmentId) {
    this.departmentId = departmentId;
  }


  public String getRecruitmentType() {
    return recruitmentType;
  }

  public void setRecruitmentType(String recruitmentType) {
    this.recruitmentType = recruitmentType;
  }


  public Integer getPeople() {
    return people;
  }

  public void setPeople(Integer people) {
    this.people = people;
  }


  public Integer getPostId() {
    return postId;
  }

  public void setPostId(Integer postId) {
    this.postId = postId;
  }


  public Integer getReguserId() {
    return reguserId;
  }

  public void setReguserId(Integer reguserId) {
    this.reguserId = reguserId;
  }


  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }


  public Date getDeadTime() {
    return deadTime;
  }

  public void setDeadtime(Date deadTime) {
    this.deadTime = deadTime;
  }


  public String getRequirement() {
    return requirement;
  }

  public void setRequirement(String requirement) {
    this.requirement = requirement;
  }

}
